<template>
  <!-- vue2的templete模板当中必须有一对根标签，在vue3当中有没有根标签无所谓 -->
  <h1>第一次使用vue3写组件</h1>
  <div>哈哈哈哈哈哈哈哈</div>
  <test-vue2></test-vue2>
  <set-up></set-up>
  <parent-vue></parent-vue>

</template>

<script lang="ts">
import { defineComponent } from 'vue';
import TestVue2 from './components/TestVue2.vue';
import SetUp from './components/SetUp.vue';
import parentVue from './components/parentVue.vue';

export default defineComponent({
  name: 'App',
  components: {
    TestVue2,
    SetUp,
    parentVue,
  
  }
});
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
